package com.lanou.service;


import com.lanou.bean.Account;
import com.lanou.bean.Service;

import java.util.Date;
import java.util.List;

/**
 * Created by lanouhn on 17/10/24.
 */

public interface ServiceService{

  List<Service> selectAllService();

  Integer selectAccountIdByIdcard(String idcardNo);

  List<String> selectAllCostName();

  Integer selectCostIdByName(String name);

  int insertService(Service service,Integer account_id,Integer cost_id);

  Service selectServiceById(Integer service_id);

  int updateServiceById(Integer service_id,String unix_host,String os_username);

  int updateService(Integer service_id,Date close_date);

  int updateServiceStatus(Integer service_id,Date pause_date);

  int updateServiceStatus1(Integer service_id);

}
